package cn.ailanyin.home.constant;

/**
 * 基础常量
 *
 * @author ailanyin
 * @date 2024-04-07 14:18:29
 */
public interface BaseConstant {

    /**
     * 资源映射路径 前缀
     */
    String RESOURCE_PREFIX = "/resource";

    /**
     * 资源映射路径 正则
     */
    String RESOURCE_PATTERN = RESOURCE_PREFIX + "/**";

    /**
     * token header
     */
    String TOKEN_HEADER = "Authorization";

    /**
     * token前缀
     */
    String TOKEN_HEAD = "Bearer ";

    /**
     * 正常
     */
    String NORMAL = "1";

    /**
     * 异常
     */
    String ABNORMAL = "0";
}
